about dialog: Add some missing docs
authorMatthias Clasen <mclasen@redhat.com>
Fri, 1 Dec 2017 23:00:39 +0000 (15:00 -0800)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 4 Dec 2017 15:42:01 +0000 (07:42 -0800)
gtk_about_dialog_set/get_system_information are new,
and were missing docs.

gtk/gtkaboutdialog.c

index b7a70379040201cb174e32b02b8fc3d66c4faccc..1faba532e51d43cdc5cbd7ccb745d24dd091986c 100644 (file)
@@ -1381,6 +1381,14 @@ gtk_about_dialog_set_license (GtkAboutDialog *about,
   g_object_notify_by_pspec (G_OBJECT (about), props[PROP_LICENSE_TYPE]);
 }
 
+/**
+ * gtk_about_dialog_get_system_information:
+ * @about: a #GtkAboutDialog
+ *
+ * Returns the system information that is shown in the about dialog.
+ *
+ * Returns: the system information
+ */
 const gchar *
 gtk_about_dialog_get_system_information (GtkAboutDialog *about)
 {
@@ -1389,6 +1397,17 @@ gtk_about_dialog_get_system_information (GtkAboutDialog *about)
   return about->priv->system_information;
 }
 
+/**
+ * gtk_about_dialog_set_system_information:
+ * @about: a #GtkAboutDialog
+ * @system_information: (allow-none): system information or %NULL
+ *
+ * Sets the system information to be displayed in the about
+ * dialog. If @system_information is %NULL, the system information
+ * tab is hidden.
+ *
+ * See #GtkAboutdialog:system-information.
+ */
 void
 gtk_about_dialog_set_system_information (GtkAboutDialog *about,
                                          const gchar    *system_information)
@@ -1628,7 +1647,7 @@ gtk_about_dialog_get_documenters (GtkAboutDialog *about)
  * @documenters: (array zero-terminated=1): a %NULL-terminated array of strings
  *
  * Sets the strings which are displayed in the documenters tab
- * of the secondary credits dialog.
+ * of the credits dialog.
  *
  * Since: 2.6
  */